package com.woniu.guoguo.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Richie
 * @since 2020-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("invite")
public class Invite implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 邀请id
     */
    @TableId(value = "invite_id", type = IdType.AUTO)
    private Integer inviteId;

    /**
     * 邀请人id
     */
    private Integer inviteUserid;

    /**
     * 被邀请人id
     */
    private Integer invitedUserid;

    /**
     * 被邀请人下单数量
     */
    private Integer number;

    /**
     * 邀请人收益
     */
    private double income;

    /**
     * 被邀请人昵称
     */
    private String invitedName;


}
